home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / program / defaults / pref / unix.js.z / unix.js
Encoding:
Text File  |  2003-07-29  |  14.5 KB  |  374 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Roland Mainz <roland.mainz@informatik.med.uni-giessen.de>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the NPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the NPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. pref("mail.empty_trash", false);
  40.  
  41. // Handled differently under Mac/Windows
  42. pref("network.hosts.smtp_server", "localhost");
  43. pref("network.hosts.pop_server", "pop");
  44. pref("mail.check_new_mail", true);
  45. pref("browser.display.screen_resolution", 0); // System setting
  46. pref("browser.startup.license_accepted", "");
  47. pref("browser.cache.memory.capacity", 4096);
  48. pref("browser.cache.disk.capacity", 50000);
  49. pref("browser.drag_out_of_frame_style", 1);
  50. pref("mail.signature_file", "~/.signature");
  51. pref("mail.default_fcc", "~/nsmail/Sent");
  52. pref("news.default_fcc", "~/nsmail/Sent");
  53. pref("mailnews.reply_with_extra_lines", 0);
  54. pref("security.warn_accept_cookie", false);
  55. pref("editor.disable_spell_checker", false);
  56. pref("editor.dont_lock_spell_files", true);
  57. pref("editor.singleLine.pasteNewlines", 0);
  58.  
  59. // Middle-mouse handling
  60. pref("middlemouse.paste", true);
  61. pref("middlemouse.contentLoadURL", true);
  62. pref("middlemouse.openNewWindow", true);
  63. pref("middlemouse.scrollbarPosition", true);
  64.  
  65. // Clipboard behavior
  66. pref("clipboard.autocopy", true);
  67.  
  68. pref("browser.urlbar.clickSelectsAll", false);
  69.  
  70. // override double-click word selection behavior.
  71. pref("layout.word_select.stop_at_punctuation", false);
  72.  
  73. // autocomplete keyboard grab workaround
  74. pref("autocomplete.grab_during_popup", true);
  75. pref("autocomplete.ungrab_during_mode_switch", true);
  76.  
  77. // Most Unix people think modal pref windows are stupid:
  78. pref("browser.prefWindowModal", false);
  79.  
  80. // turn off scrollbar snapping
  81. pref("slider.snapMultiplier", 0);
  82.  
  83. // Unix only
  84. pref("mail.use_movemail", true);
  85. pref("mail.use_builtin_movemail", true);
  86. pref("mail.movemail_program", "");
  87. pref("mail.movemail_warn", false);
  88. pref("mail.sash_geometry", "");
  89. pref("news.cache_xover", false);
  90. pref("news.show_first_unread", false);
  91. pref("news.sash_geometry", "");
  92. pref("helpers.global_mime_types_file", "/etc/mime.types");
  93. pref("helpers.global_mailcap_file", "/etc/mailcap");
  94. pref("helpers.private_mime_types_file", "~/.mime.types");
  95. pref("helpers.private_mailcap_file", "~/.mailcap");
  96. pref("applications.telnet", "xterm -e telnet %h %p");
  97. pref("applications.tn3270", "xterm -e tn3270 %h");
  98. pref("applications.rlogin", "xterm -e rlogin %h");
  99. pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
  100. pref("applications.tmp_dir", "/tmp");
  101. // On Solaris/IRIX, this should be "lp"
  102. pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
  103. pref("print.printer_list", ""); // list of printers, seperated by spaces
  104. pref("print.print_reversed", false);
  105. pref("print.print_color", true);
  106. pref("print.print_landscape", false);
  107. pref("print.print_paper_size", 0);
  108.  
  109. // Enables you to specify the gap from the edge of the paper to the margin
  110. // this is used by both Printing and Print Preview
  111. pref("print.print_edge_top", 4); // 1/100 of an inch
  112. pref("print.print_edge_left", 4); // 1/100 of an inch
  113. pref("print.print_edge_right", 4); // 1/100 of an inch
  114. pref("print.print_edge_bottom", 4); // 1/100 of an inch
  115.  
  116. // print_extra_margin enables platforms to specify an extra gap or margin
  117. // around the content of the page for Print Preview only
  118. pref("print.print_extra_margin", 0); // twips
  119.  
  120. pref("print.whileInPrintPreview", false);
  121.  
  122. pref("font.allow_double_byte_special_chars", true);
  123. // font names
  124.  
  125. // ar
  126.  
  127. pref("font.name.serif.el", "misc-fixed-iso8859-7");
  128. pref("font.name.sans-serif.el", "misc-fixed-iso8859-7");
  129. pref("font.name.monospace.el", "misc-fixed-iso8859-7");
  130.  
  131. pref("font.name.serif.he", "misc-fixed-iso8859-8");
  132. pref("font.name.sans-serif.he", "misc-fixed-iso8859-8");
  133. pref("font.name.monospace.he", "misc-fixed-iso8859-8");
  134.  
  135. pref("font.name.serif.ja", "jis-fixed-jisx0208.1983-0");
  136. pref("font.name.sans-serif.ja", "jis-fixed-jisx0208.1983-0");
  137. pref("font.name.monospace.ja", "jis-fixed-jisx0208.1983-0");
  138.  
  139. pref("font.name.serif.ko", "daewoo-mincho-ksc5601.1987-0");
  140. pref("font.name.sans-serif.ko", "daewoo-mincho-ksc5601.1987-0");
  141. pref("font.name.monospace.ko", "daewoo-mincho-ksc5601.1987-0");
  142.  
  143. // th
  144.  
  145. pref("font.name.serif.tr", "adobe-times-iso8859-9");
  146. pref("font.name.sans-serif.tr", "adobe-helvetica-iso8859-9");
  147. pref("font.name.monospace.tr", "adobe-courier-iso8859-9");
  148.  
  149. pref("font.name.serif.x-baltic", "b&h-lucidux serif-iso8859-4");
  150. pref("font.name.sans-serif.x-baltic", "b&h-lucidux sans-iso8859-4");
  151. pref("font.name.monospace.x-baltic", "b&h-lucidux mono-iso8859-4");
  152.  
  153. pref("font.name.serif.x-central-euro", "adobe-times-iso8859-2");
  154. pref("font.name.sans-serif.x-central-euro", "adobe-helvetica-iso8859-2");
  155. pref("font.name.monospace.x-central-euro", "adobe-courier-iso8859-2");
  156.  
  157. pref("font.name.serif.x-cyrillic", "cronyx-times-koi8-r");
  158. pref("font.name.sans-serif.x-cyrillic", "cronyx-helvetica-koi8-r");
  159. pref("font.name.monospace.x-cyrillic", "cronyx-courier-koi8-r");
  160.  
  161. pref("font.name.serif.x-unicode", "adobe-times-iso8859-1");
  162. pref("font.name.sans-serif.x-unicode", "adobe-helvetica-iso8859-1");
  163. pref("font.name.monospace.x-unicode", "adobe-courier-iso8859-1");
  164.  
  165. pref("font.name.serif.x-user-def", "adobe-times-iso8859-1");
  166. pref("font.name.sans-serif.x-user-def", "adobe-helvetica-iso8859-1");
  167. pref("font.name.monospace.x-user-def", "adobe-courier-iso8859-1");
  168.  
  169. pref("font.name.serif.x-western", "adobe-times-iso8859-1");
  170. pref("font.name.sans-serif.x-western", "adobe-helvetica-iso8859-1");
  171. pref("font.name.monospace.x-western", "adobe-courier-iso8859-1");
  172.  
  173. pref("font.name.serif.zh-CN", "isas-song ti-gb2312.1980-0");
  174. pref("font.name.sans-serif.zh-CN", "isas-song ti-gb2312.1980-0");
  175. pref("font.name.monospace.zh-CN", "isas-song ti-gb2312.1980-0");
  176.  
  177. // zh-TW
  178.  
  179. pref("font.default", "serif");
  180. pref("font.size.variable.ar", 16);
  181. pref("font.size.fixed.ar", 12);
  182.  
  183. pref("font.size.variable.el", 16);
  184. pref("font.size.fixed.el", 12);
  185.  
  186. pref("font.size.variable.he", 16);
  187. pref("font.size.fixed.he", 12);
  188.  
  189. pref("font.size.variable.ja", 16);
  190. pref("font.size.fixed.ja", 16);
  191.  
  192. pref("font.size.variable.ko", 16);
  193. pref("font.size.fixed.ko", 16);
  194.  
  195. pref("font.size.variable.th", 16);
  196. pref("font.size.fixed.th", 12);
  197.  
  198. pref("font.size.variable.tr", 16);
  199. pref("font.size.fixed.tr", 12);
  200.  
  201. pref("font.size.variable.x-baltic", 16);
  202. pref("font.size.fixed.x-baltic", 12);
  203.  
  204. pref("font.size.variable.x-central-euro", 16);
  205. pref("font.size.fixed.x-central-euro", 12);
  206.  
  207. pref("font.size.variable.x-cyrillic", 16);
  208. pref("font.size.fixed.x-cyrillic", 12);
  209.  
  210. pref("font.size.variable.x-unicode", 16);
  211. pref("font.size.fixed.x-unicode", 12);
  212.  
  213. pref("font.size.variable.x-western", 16);
  214. pref("font.size.fixed.x-western", 12);
  215.  
  216. pref("font.size.variable.zh-CN", 16);
  217. pref("font.size.fixed.zh-CN", 16);
  218.  
  219. pref("font.size.variable.zh-TW", 16);
  220. pref("font.size.fixed.zh-TW", 16);
  221.  
  222. // below a certian pixel size outline scaled fonts produce poor results
  223. pref("font.scale.outline.min",      6);
  224.  
  225. // TrueType
  226. pref("font.FreeType2.enable", false);
  227. pref("font.freetype2.shared-library", "libfreetype.so.6");
  228. // if libfreetype was built without hinting compiled in
  229. // it is best to leave hinting off
  230. pref("font.FreeType2.autohinted", false);
  231. pref("font.FreeType2.unhinted", true);
  232. // below a certian pixel size anti-aliased fonts produce poor results
  233. pref("font.antialias.min",        10);
  234. pref("font.embedded_bitmaps.max", 1000000);
  235. pref("font.scale.tt_bitmap.dark_text.min", 64);
  236. pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
  237. // sample prefs for TrueType font dirs
  238. //pref("font.directory.truetype.1", "/u/sam/tt_font");
  239. //pref("font.directory.truetype.2", "/u/sam/tt_font2");
  240. //pref("font.directory.truetype.3", "/u/sam/tt_font3");
  241.  
  242. // below a certian pixel size anti-aliased bitmat scaled fonts 
  243. // produce poor results
  244. pref("font.scale.aa_bitmap.enable", true);
  245. pref("font.scale.aa_bitmap.always", false);
  246. pref("font.scale.aa_bitmap.min", 6);
  247. pref("font.scale.aa_bitmap.undersize", 80);
  248. pref("font.scale.aa_bitmap.oversize", 120);
  249. pref("font.scale.aa_bitmap.dark_text.min", 64);
  250. pref("font.scale.aa_bitmap.dark_text.gain", "0.5");
  251. pref("font.scale.aa_bitmap.light_text.min", 64);
  252. pref("font.scale.aa_bitmap.light_text.gain", "1.3");
  253.  
  254. pref("font.scale.bitmap.min",       12);
  255. pref("font.scale.bitmap.undersize", 80);
  256. pref("font.scale.bitmap.oversize",  120);
  257.  
  258. pref("font.scale.outline.min.ja",      10);
  259. pref("font.scale.aa_bitmap.min.ja",    12);
  260. pref("font.scale.aa_bitmap.always.ja", false);
  261. pref("font.scale.bitmap.min.ja",       16);
  262. pref("font.scale.bitmap.undersize.ja", 80);
  263. pref("font.scale.bitmap.oversize.ja",  120);
  264.  
  265. pref("font.scale.outline.min.ko",      10);
  266. pref("font.scale.aa_bitmap.min.ko",    12);
  267. pref("font.scale.aa_bitmap.always.ko", false);
  268. pref("font.scale.bitmap.min.ko",       16);
  269. pref("font.scale.bitmap.undersize.ko", 80);
  270. pref("font.scale.bitmap.oversize.ko",  120);
  271.  
  272. pref("font.scale.outline.min.zh-CN",      10);
  273. pref("font.scale.aa_bitmap.min.zh-CN",    12);
  274. pref("font.scale.aa_bitmap.always.zh-CN", false);
  275. pref("font.scale.bitmap.min.zh-CN",       16);
  276. pref("font.scale.bitmap.undersize.zh-CN", 80);
  277. pref("font.scale.bitmap.oversize.zh-CN",  120);
  278.  
  279. pref("font.scale.outline.min.zh-TW",      10);
  280. pref("font.scale.aa_bitmap.min.zh-TW",    12);
  281. pref("font.scale.aa_bitmap.always.zh-TW", false);
  282. pref("font.scale.bitmap.min.zh-TW",       16);
  283. pref("font.scale.bitmap.undersize.zh-TW", 80);
  284. pref("font.scale.bitmap.oversize.zh-TW",  120);
  285.  
  286. // minimum font sizes
  287.  
  288. pref("font.min-size.variable.ja", 10);
  289. pref("font.min-size.fixed.ja", 10);
  290.  
  291. pref("font.min-size.variable.ko", 10);
  292. pref("font.min-size.fixed.ko", 10);
  293.  
  294. pref("font.min-size.variable.zh-CN", 10);
  295. pref("font.min-size.fixed.zh-CN", 10);
  296.  
  297. pref("font.min-size.variable.zh-TW", 10);
  298. pref("font.min-size.fixed.zh-TW", 10);
  299.  
  300. // X11 specific
  301. /* X11 font accept/reject patterns:
  302.  * Patterns have to match against strings like this:
  303.  * (boolean values can only be "true" or "false")
  304.  * "fname=.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=%d;ydpy=%d;xdevice=.*"
  305.  * - fname     = X11 font name (string)
  306.  * - scalable  = is font scalable ? (boolean)
  307.  * - outline_scaled = is font an outline scaled font ? (boolean)
  308.  * - xdisplay  = X11 display name (like "host:0.0" (string)
  309.  * - xdpy      = X DPI (X screen resolution) (integer)
  310.  * - ydpy      = Y DPI (Y screen resolution) (integer)
  311.  * - xdevice   = "display" or "printer" (Xprint)
  312.  * Patterns use  the regular expressions described in the EXTENDED REGULAR
  313.  * EXPRESSIONS section of the regex(5) manual page.
  314.  * Note that prefs strings can always be concatenated via the '+'-operator,
  315.  * e.g. pref("font.x11.acceptfontpattern", "pattern1|" + 
  316.  *                                         "pattern2|" +
  317.  *                                         "pattern3");
  318.  */
  319. /* reject font if accept pattern does not match it... */
  320. //pref("font.x11.acceptfontpattern", ".*");
  321. /* reject font if reject pattern matches it... */
  322. //pref("font.x11.rejectfontpattern", 
  323. //     "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
  324.  
  325. /* reject font if accept pattern does not match it... */
  326. pref("print.xprint.font.acceptfontpattern", ".*");
  327. /* reject font if reject pattern matches it...
  328.  * Current bans:
  329.  * - bug 148470 ("Ban "-dt-*" (bitmap!!) fonts from Xprint")
  330.  *   pattern="fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*"
  331.  */
  332. pref("print.xprint.font.rejectfontpattern", 
  333.      "fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
  334.  
  335. /* Xprint print module prefs */
  336. pref("print.xprint.font.force_outline_scaled_fonts", true);
  337. pref("print.xprint.font.scale_bitmap_fonts_with_devscale", true);
  338.  
  339. /* PostScript print module prefs */
  340. pref("print.postscript.paper_size",    "letter");
  341. pref("print.postscript.orientation",   "portrait");
  342. pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
  343.  
  344. /* PostScript print module font config
  345.  * this list is used by the postscript font
  346.  * to enumerate the list of langGroups
  347.  * there should be a call to get the
  348.  * langGroups; see bug 75054
  349.  */
  350. pref("print.postscript.nativefont.ar",             "");
  351. pref("print.postscript.nativefont.el",             "");
  352. pref("print.postscript.nativefont.he",             "");
  353. pref("print.postscript.nativefont.ja",             "");
  354. pref("print.postscript.nativefont.ko",             "");
  355. pref("print.postscript.nativefont.th",             "");
  356. pref("print.postscript.nativefont.tr",             "");
  357. pref("print.postscript.nativefont.x-baltic",       "");
  358. pref("print.postscript.nativefont.x-central-euro", "");
  359. pref("print.postscript.nativefont.x-cyrillic",     "");
  360. pref("print.postscript.nativefont.x-unicode",      "");
  361. pref("print.postscript.nativefont.x-user-def",     "");
  362. pref("print.postscript.nativefont.x-western",      "");
  363. pref("print.postscript.nativefont.zh-CN",          "");
  364. pref("print.postscript.nativefont.zh-TW",          "");
  365.  
  366. // For the download dialog
  367. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", false);
  368.  
  369. pref("mail.signature_date", 0);
  370.  
  371. // until bug #130581 is fixed, we need to override this on linux
  372. pref("mail.compose.max_recycled_windows", 0);
  373. // EOF.
  374.